﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Admin.Master" AutoEventWireup="true" CodeBehind="answer.aspx.cs" Inherits="GameAdmin.Pages.answer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="plcHolderContent" runat="server">
    <h2>Odpověď na otázku</h2>

    <asp:Label ID="lblMessage" Visible="false" runat="server" />

    <div class="editor">
        <fieldset>
            <legend>Editor</legend>

            <asp:Label AssociatedControlID="txtId" Text="ID:" runat="server" /><asp:TextBox ID="txtId" ReadOnly="true" BackColor="Silver" runat="server" /><br />
            <asp:Label AssociatedControlID="txtQuestionId" Text="ID otázky:" runat="server" /><asp:TextBox ID="txtQuestionId" ReadOnly="true" BackColor="Silver" runat="server" /><br />
            <asp:Label AssociatedControlID="ddlMarks" Text="Mark:" runat="server" />
                <asp:DropDownList ID="ddlMarks" runat="server">
                    <asp:ListItem Text="A" Value="A" Selected="True" />
                    <asp:ListItem Text="B" Value="B" />
                    <asp:ListItem Text="C" Value="C" />
                    <asp:ListItem Text="D" Value="D" />
                </asp:DropDownList><br />
            <asp:Label AssociatedControlID="txtText" Text="Text:" runat="server" /><asp:TextBox ID="txtText" TextMode="MultiLine" runat="server" />
                <asp:RequiredFieldValidator ID="req1" ControlToValidate="txtText" ErrorMessage="Nevyplnili jste text odpovědi!" Display="Dynamic" runat="server" />
                <br />
            <asp:Label AssociatedControlID="chkBoxCorrect" Text="Correct:" runat="server" /><asp:CheckBox ID="chkBoxCorrect" runat="server" />
        </fieldset>

        <asp:Button ID="btnSave" Text="Uložit" runat="server" />
    </div>

    <asp:HyperLink ID="lnkBack" NavigateUrl="~/answers/question-" Text="Návrat na seznam odpovědí otázky" runat="server" />
</asp:Content>